package com.xy.annotaion.handler.kotlin


fun log0(s: Array<out Any?>) {
    val s = s.joinToString(" ")
    for (i in s) {
        print(i)
    }
    println()
}

fun log(vararg s: Any?) {
    log0(s)
}

fun p(vararg s: Any?) {
    log(*s)
}

fun main() {
    log(1, 2, 3, 4, 5, "ABC")
    p("aaaa", "ccc", "dfds", 123, 4, 5, 6, 6.0)
}
